package com.ttbj.owner.bean.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OwnerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OwnerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOwnerIdIsNull() {
            addCriterion("owner_id is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdIsNotNull() {
            addCriterion("owner_id is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdEqualTo(Long value) {
            addCriterion("owner_id =", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotEqualTo(Long value) {
            addCriterion("owner_id <>", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdGreaterThan(Long value) {
            addCriterion("owner_id >", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("owner_id >=", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdLessThan(Long value) {
            addCriterion("owner_id <", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdLessThanOrEqualTo(Long value) {
            addCriterion("owner_id <=", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdIn(List<Long> values) {
            addCriterion("owner_id in", values, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotIn(List<Long> values) {
            addCriterion("owner_id not in", values, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdBetween(Long value1, Long value2) {
            addCriterion("owner_id between", value1, value2, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotBetween(Long value1, Long value2) {
            addCriterion("owner_id not between", value1, value2, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerNumIsNull() {
            addCriterion("owner_num is null");
            return (Criteria) this;
        }

        public Criteria andOwnerNumIsNotNull() {
            addCriterion("owner_num is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerNumEqualTo(String value) {
            addCriterion("owner_num =", value, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNumNotEqualTo(String value) {
            addCriterion("owner_num <>", value, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNumGreaterThan(String value) {
            addCriterion("owner_num >", value, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNumGreaterThanOrEqualTo(String value) {
            addCriterion("owner_num >=", value, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNumLessThan(String value) {
            addCriterion("owner_num <", value, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNumLessThanOrEqualTo(String value) {
            addCriterion("owner_num <=", value, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNumLike(String value) {
            addCriterion("owner_num like", value, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNumNotLike(String value) {
            addCriterion("owner_num not like", value, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNumIn(List<String> values) {
            addCriterion("owner_num in", values, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNumNotIn(List<String> values) {
            addCriterion("owner_num not in", values, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNumBetween(String value1, String value2) {
            addCriterion("owner_num between", value1, value2, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNumNotBetween(String value1, String value2) {
            addCriterion("owner_num not between", value1, value2, "ownerNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumIsNull() {
            addCriterion("owner_group_num is null");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumIsNotNull() {
            addCriterion("owner_group_num is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumEqualTo(String value) {
            addCriterion("owner_group_num =", value, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumNotEqualTo(String value) {
            addCriterion("owner_group_num <>", value, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumGreaterThan(String value) {
            addCriterion("owner_group_num >", value, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumGreaterThanOrEqualTo(String value) {
            addCriterion("owner_group_num >=", value, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumLessThan(String value) {
            addCriterion("owner_group_num <", value, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumLessThanOrEqualTo(String value) {
            addCriterion("owner_group_num <=", value, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumLike(String value) {
            addCriterion("owner_group_num like", value, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumNotLike(String value) {
            addCriterion("owner_group_num not like", value, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumIn(List<String> values) {
            addCriterion("owner_group_num in", values, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumNotIn(List<String> values) {
            addCriterion("owner_group_num not in", values, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumBetween(String value1, String value2) {
            addCriterion("owner_group_num between", value1, value2, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerGroupNumNotBetween(String value1, String value2) {
            addCriterion("owner_group_num not between", value1, value2, "ownerGroupNum");
            return (Criteria) this;
        }

        public Criteria andOwnerNameIsNull() {
            addCriterion("owner_name is null");
            return (Criteria) this;
        }

        public Criteria andOwnerNameIsNotNull() {
            addCriterion("owner_name is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerNameEqualTo(String value) {
            addCriterion("owner_name =", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameNotEqualTo(String value) {
            addCriterion("owner_name <>", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameGreaterThan(String value) {
            addCriterion("owner_name >", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameGreaterThanOrEqualTo(String value) {
            addCriterion("owner_name >=", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameLessThan(String value) {
            addCriterion("owner_name <", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameLessThanOrEqualTo(String value) {
            addCriterion("owner_name <=", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameLike(String value) {
            addCriterion("owner_name like", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameNotLike(String value) {
            addCriterion("owner_name not like", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameIn(List<String> values) {
            addCriterion("owner_name in", values, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameNotIn(List<String> values) {
            addCriterion("owner_name not in", values, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameBetween(String value1, String value2) {
            addCriterion("owner_name between", value1, value2, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameNotBetween(String value1, String value2) {
            addCriterion("owner_name not between", value1, value2, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderIsNull() {
            addCriterion("owner_is_sender is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderIsNotNull() {
            addCriterion("owner_is_sender is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderEqualTo(Integer value) {
            addCriterion("owner_is_sender =", value, "ownerIsSender");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderNotEqualTo(Integer value) {
            addCriterion("owner_is_sender <>", value, "ownerIsSender");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderGreaterThan(Integer value) {
            addCriterion("owner_is_sender >", value, "ownerIsSender");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderGreaterThanOrEqualTo(Integer value) {
            addCriterion("owner_is_sender >=", value, "ownerIsSender");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderLessThan(Integer value) {
            addCriterion("owner_is_sender <", value, "ownerIsSender");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderLessThanOrEqualTo(Integer value) {
            addCriterion("owner_is_sender <=", value, "ownerIsSender");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderIn(List<Integer> values) {
            addCriterion("owner_is_sender in", values, "ownerIsSender");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderNotIn(List<Integer> values) {
            addCriterion("owner_is_sender not in", values, "ownerIsSender");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderBetween(Integer value1, Integer value2) {
            addCriterion("owner_is_sender between", value1, value2, "ownerIsSender");
            return (Criteria) this;
        }

        public Criteria andOwnerIsSenderNotBetween(Integer value1, Integer value2) {
            addCriterion("owner_is_sender not between", value1, value2, "ownerIsSender");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneIsNull() {
            addCriterion("owner_phone is null");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneIsNotNull() {
            addCriterion("owner_phone is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneEqualTo(String value) {
            addCriterion("owner_phone =", value, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneNotEqualTo(String value) {
            addCriterion("owner_phone <>", value, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneGreaterThan(String value) {
            addCriterion("owner_phone >", value, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("owner_phone >=", value, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneLessThan(String value) {
            addCriterion("owner_phone <", value, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneLessThanOrEqualTo(String value) {
            addCriterion("owner_phone <=", value, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneLike(String value) {
            addCriterion("owner_phone like", value, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneNotLike(String value) {
            addCriterion("owner_phone not like", value, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneIn(List<String> values) {
            addCriterion("owner_phone in", values, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneNotIn(List<String> values) {
            addCriterion("owner_phone not in", values, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneBetween(String value1, String value2) {
            addCriterion("owner_phone between", value1, value2, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerPhoneNotBetween(String value1, String value2) {
            addCriterion("owner_phone not between", value1, value2, "ownerPhone");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceIsNull() {
            addCriterion("owner_province is null");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceIsNotNull() {
            addCriterion("owner_province is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceEqualTo(String value) {
            addCriterion("owner_province =", value, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceNotEqualTo(String value) {
            addCriterion("owner_province <>", value, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceGreaterThan(String value) {
            addCriterion("owner_province >", value, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("owner_province >=", value, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceLessThan(String value) {
            addCriterion("owner_province <", value, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceLessThanOrEqualTo(String value) {
            addCriterion("owner_province <=", value, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceLike(String value) {
            addCriterion("owner_province like", value, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceNotLike(String value) {
            addCriterion("owner_province not like", value, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceIn(List<String> values) {
            addCriterion("owner_province in", values, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceNotIn(List<String> values) {
            addCriterion("owner_province not in", values, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceBetween(String value1, String value2) {
            addCriterion("owner_province between", value1, value2, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerProvinceNotBetween(String value1, String value2) {
            addCriterion("owner_province not between", value1, value2, "ownerProvince");
            return (Criteria) this;
        }

        public Criteria andOwnerCityIsNull() {
            addCriterion("owner_city is null");
            return (Criteria) this;
        }

        public Criteria andOwnerCityIsNotNull() {
            addCriterion("owner_city is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerCityEqualTo(String value) {
            addCriterion("owner_city =", value, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerCityNotEqualTo(String value) {
            addCriterion("owner_city <>", value, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerCityGreaterThan(String value) {
            addCriterion("owner_city >", value, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerCityGreaterThanOrEqualTo(String value) {
            addCriterion("owner_city >=", value, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerCityLessThan(String value) {
            addCriterion("owner_city <", value, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerCityLessThanOrEqualTo(String value) {
            addCriterion("owner_city <=", value, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerCityLike(String value) {
            addCriterion("owner_city like", value, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerCityNotLike(String value) {
            addCriterion("owner_city not like", value, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerCityIn(List<String> values) {
            addCriterion("owner_city in", values, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerCityNotIn(List<String> values) {
            addCriterion("owner_city not in", values, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerCityBetween(String value1, String value2) {
            addCriterion("owner_city between", value1, value2, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerCityNotBetween(String value1, String value2) {
            addCriterion("owner_city not between", value1, value2, "ownerCity");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaIsNull() {
            addCriterion("owner_area is null");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaIsNotNull() {
            addCriterion("owner_area is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaEqualTo(String value) {
            addCriterion("owner_area =", value, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaNotEqualTo(String value) {
            addCriterion("owner_area <>", value, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaGreaterThan(String value) {
            addCriterion("owner_area >", value, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaGreaterThanOrEqualTo(String value) {
            addCriterion("owner_area >=", value, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaLessThan(String value) {
            addCriterion("owner_area <", value, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaLessThanOrEqualTo(String value) {
            addCriterion("owner_area <=", value, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaLike(String value) {
            addCriterion("owner_area like", value, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaNotLike(String value) {
            addCriterion("owner_area not like", value, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaIn(List<String> values) {
            addCriterion("owner_area in", values, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaNotIn(List<String> values) {
            addCriterion("owner_area not in", values, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaBetween(String value1, String value2) {
            addCriterion("owner_area between", value1, value2, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAreaNotBetween(String value1, String value2) {
            addCriterion("owner_area not between", value1, value2, "ownerArea");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrIsNull() {
            addCriterion("owner_addr is null");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrIsNotNull() {
            addCriterion("owner_addr is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrEqualTo(String value) {
            addCriterion("owner_addr =", value, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrNotEqualTo(String value) {
            addCriterion("owner_addr <>", value, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrGreaterThan(String value) {
            addCriterion("owner_addr >", value, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrGreaterThanOrEqualTo(String value) {
            addCriterion("owner_addr >=", value, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrLessThan(String value) {
            addCriterion("owner_addr <", value, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrLessThanOrEqualTo(String value) {
            addCriterion("owner_addr <=", value, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrLike(String value) {
            addCriterion("owner_addr like", value, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrNotLike(String value) {
            addCriterion("owner_addr not like", value, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrIn(List<String> values) {
            addCriterion("owner_addr in", values, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrNotIn(List<String> values) {
            addCriterion("owner_addr not in", values, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrBetween(String value1, String value2) {
            addCriterion("owner_addr between", value1, value2, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerAddrNotBetween(String value1, String value2) {
            addCriterion("owner_addr not between", value1, value2, "ownerAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardIsNull() {
            addCriterion("owner_idcard is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardIsNotNull() {
            addCriterion("owner_idcard is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardEqualTo(String value) {
            addCriterion("owner_idcard =", value, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardNotEqualTo(String value) {
            addCriterion("owner_idcard <>", value, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardGreaterThan(String value) {
            addCriterion("owner_idcard >", value, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardGreaterThanOrEqualTo(String value) {
            addCriterion("owner_idcard >=", value, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardLessThan(String value) {
            addCriterion("owner_idcard <", value, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardLessThanOrEqualTo(String value) {
            addCriterion("owner_idcard <=", value, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardLike(String value) {
            addCriterion("owner_idcard like", value, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardNotLike(String value) {
            addCriterion("owner_idcard not like", value, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardIn(List<String> values) {
            addCriterion("owner_idcard in", values, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardNotIn(List<String> values) {
            addCriterion("owner_idcard not in", values, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardBetween(String value1, String value2) {
            addCriterion("owner_idcard between", value1, value2, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardNotBetween(String value1, String value2) {
            addCriterion("owner_idcard not between", value1, value2, "ownerIdcard");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualIsNull() {
            addCriterion("owner_sexual is null");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualIsNotNull() {
            addCriterion("owner_sexual is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualEqualTo(Integer value) {
            addCriterion("owner_sexual =", value, "ownerSexual");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualNotEqualTo(Integer value) {
            addCriterion("owner_sexual <>", value, "ownerSexual");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualGreaterThan(Integer value) {
            addCriterion("owner_sexual >", value, "ownerSexual");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualGreaterThanOrEqualTo(Integer value) {
            addCriterion("owner_sexual >=", value, "ownerSexual");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualLessThan(Integer value) {
            addCriterion("owner_sexual <", value, "ownerSexual");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualLessThanOrEqualTo(Integer value) {
            addCriterion("owner_sexual <=", value, "ownerSexual");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualIn(List<Integer> values) {
            addCriterion("owner_sexual in", values, "ownerSexual");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualNotIn(List<Integer> values) {
            addCriterion("owner_sexual not in", values, "ownerSexual");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualBetween(Integer value1, Integer value2) {
            addCriterion("owner_sexual between", value1, value2, "ownerSexual");
            return (Criteria) this;
        }

        public Criteria andOwnerSexualNotBetween(Integer value1, Integer value2) {
            addCriterion("owner_sexual not between", value1, value2, "ownerSexual");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayIsNull() {
            addCriterion("owner_birthday is null");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayIsNotNull() {
            addCriterion("owner_birthday is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayEqualTo(String value) {
            addCriterion("owner_birthday =", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayNotEqualTo(String value) {
            addCriterion("owner_birthday <>", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayGreaterThan(String value) {
            addCriterion("owner_birthday >", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayGreaterThanOrEqualTo(String value) {
            addCriterion("owner_birthday >=", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayLessThan(String value) {
            addCriterion("owner_birthday <", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayLessThanOrEqualTo(String value) {
            addCriterion("owner_birthday <=", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayIn(List<Date> values) {
            addCriterion("owner_birthday in", values, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayNotIn(List<Date> values) {
            addCriterion("owner_birthday not in", values, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayBetween(String value1, String value2) {
            addCriterion("owner_birthday between", value1, value2, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayNotBetween(String value1, String value2) {
            addCriterion("owner_birthday not between", value1, value2, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrIsNull() {
            addCriterion("owner_idcard_addr is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrIsNotNull() {
            addCriterion("owner_idcard_addr is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrEqualTo(String value) {
            addCriterion("owner_idcard_addr =", value, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrNotEqualTo(String value) {
            addCriterion("owner_idcard_addr <>", value, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrGreaterThan(String value) {
            addCriterion("owner_idcard_addr >", value, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrGreaterThanOrEqualTo(String value) {
            addCriterion("owner_idcard_addr >=", value, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrLessThan(String value) {
            addCriterion("owner_idcard_addr <", value, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrLessThanOrEqualTo(String value) {
            addCriterion("owner_idcard_addr <=", value, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrLike(String value) {
            addCriterion("owner_idcard_addr like", value, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrNotLike(String value) {
            addCriterion("owner_idcard_addr not like", value, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrIn(List<String> values) {
            addCriterion("owner_idcard_addr in", values, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrNotIn(List<String> values) {
            addCriterion("owner_idcard_addr not in", values, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrBetween(String value1, String value2) {
            addCriterion("owner_idcard_addr between", value1, value2, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerIdcardAddrNotBetween(String value1, String value2) {
            addCriterion("owner_idcard_addr not between", value1, value2, "ownerIdcardAddr");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeIsNull() {
            addCriterion("owner_ins_time is null");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeIsNotNull() {
            addCriterion("owner_ins_time is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeEqualTo(String value) {
            addCriterion("owner_ins_time =", value, "ownerInsTime");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeNotEqualTo(String value) {
            addCriterion("owner_ins_time <>", value, "ownerInsTime");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeGreaterThan(String value) {
            addCriterion("owner_ins_time >", value, "ownerInsTime");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeGreaterThanOrEqualTo(String value) {
            addCriterion("owner_ins_time >=", value, "ownerInsTime");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeLessThan(String value) {
            addCriterion("owner_ins_time <", value, "ownerInsTime");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeLessThanOrEqualTo(String value) {
            addCriterion("owner_ins_time <=", value, "ownerInsTime");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeIn(List<Date> values) {
            addCriterion("owner_ins_time in", values, "ownerInsTime");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeNotIn(List<Date> values) {
            addCriterion("owner_ins_time not in", values, "ownerInsTime");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeBetween(String value1, String value2) {
            addCriterion("owner_ins_time between", value1, value2, "ownerInsTime");
            return (Criteria) this;
        }

        public Criteria andOwnerInsTimeNotBetween(String value1, String value2) {
            addCriterion("owner_ins_time not between", value1, value2, "ownerInsTime");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeIsNull() {
            addCriterion("owner_update_time is null");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeIsNotNull() {
            addCriterion("owner_update_time is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeEqualTo(String value) {
            addCriterion("owner_update_time =", value, "ownerUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeNotEqualTo(String value) {
            addCriterion("owner_update_time <>", value, "ownerUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeGreaterThan(String value) {
            addCriterion("owner_update_time >", value, "ownerUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("owner_update_time >=", value, "ownerUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeLessThan(String value) {
            addCriterion("owner_update_time <", value, "ownerUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeLessThanOrEqualTo(String value) {
            addCriterion("owner_update_time <=", value, "ownerUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeIn(List<Date> values) {
            addCriterion("owner_update_time in", values, "ownerUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeNotIn(List<Date> values) {
            addCriterion("owner_update_time not in", values, "ownerUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeBetween(String value1, String value2) {
            addCriterion("owner_update_time between", value1, value2, "ownerUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOwnerUpdateTimeNotBetween(String value1, String value2) {
            addCriterion("owner_update_time not between", value1, value2, "ownerUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteIsNull() {
            addCriterion("owner_is_delete is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteIsNotNull() {
            addCriterion("owner_is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteEqualTo(Integer value) {
            addCriterion("owner_is_delete =", value, "ownerIsDelete");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteNotEqualTo(Integer value) {
            addCriterion("owner_is_delete <>", value, "ownerIsDelete");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteGreaterThan(Integer value) {
            addCriterion("owner_is_delete >", value, "ownerIsDelete");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("owner_is_delete >=", value, "ownerIsDelete");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteLessThan(Integer value) {
            addCriterion("owner_is_delete <", value, "ownerIsDelete");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("owner_is_delete <=", value, "ownerIsDelete");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteIn(List<Integer> values) {
            addCriterion("owner_is_delete in", values, "ownerIsDelete");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteNotIn(List<Integer> values) {
            addCriterion("owner_is_delete not in", values, "ownerIsDelete");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteBetween(Integer value1, Integer value2) {
            addCriterion("owner_is_delete between", value1, value2, "ownerIsDelete");
            return (Criteria) this;
        }

        public Criteria andOwnerIsDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("owner_is_delete not between", value1, value2, "ownerIsDelete");
            return (Criteria) this;
        }

        public Criteria andOwnerLatIsNull() {
            addCriterion("owner_lat is null");
            return (Criteria) this;
        }

        public Criteria andOwnerLatIsNotNull() {
            addCriterion("owner_lat is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerLatEqualTo(String value) {
            addCriterion("owner_lat =", value, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLatNotEqualTo(String value) {
            addCriterion("owner_lat <>", value, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLatGreaterThan(String value) {
            addCriterion("owner_lat >", value, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLatGreaterThanOrEqualTo(String value) {
            addCriterion("owner_lat >=", value, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLatLessThan(String value) {
            addCriterion("owner_lat <", value, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLatLessThanOrEqualTo(String value) {
            addCriterion("owner_lat <=", value, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLatLike(String value) {
            addCriterion("owner_lat like", value, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLatNotLike(String value) {
            addCriterion("owner_lat not like", value, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLatIn(List<String> values) {
            addCriterion("owner_lat in", values, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLatNotIn(List<String> values) {
            addCriterion("owner_lat not in", values, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLatBetween(String value1, String value2) {
            addCriterion("owner_lat between", value1, value2, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLatNotBetween(String value1, String value2) {
            addCriterion("owner_lat not between", value1, value2, "ownerLat");
            return (Criteria) this;
        }

        public Criteria andOwnerLngIsNull() {
            addCriterion("owner_lng is null");
            return (Criteria) this;
        }

        public Criteria andOwnerLngIsNotNull() {
            addCriterion("owner_lng is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerLngEqualTo(String value) {
            addCriterion("owner_lng =", value, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerLngNotEqualTo(String value) {
            addCriterion("owner_lng <>", value, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerLngGreaterThan(String value) {
            addCriterion("owner_lng >", value, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerLngGreaterThanOrEqualTo(String value) {
            addCriterion("owner_lng >=", value, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerLngLessThan(String value) {
            addCriterion("owner_lng <", value, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerLngLessThanOrEqualTo(String value) {
            addCriterion("owner_lng <=", value, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerLngLike(String value) {
            addCriterion("owner_lng like", value, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerLngNotLike(String value) {
            addCriterion("owner_lng not like", value, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerLngIn(List<String> values) {
            addCriterion("owner_lng in", values, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerLngNotIn(List<String> values) {
            addCriterion("owner_lng not in", values, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerLngBetween(String value1, String value2) {
            addCriterion("owner_lng between", value1, value2, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerLngNotBetween(String value1, String value2) {
            addCriterion("owner_lng not between", value1, value2, "ownerLng");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidIsNull() {
            addCriterion("owner_openId is null");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidIsNotNull() {
            addCriterion("owner_openId is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidEqualTo(String value) {
            addCriterion("owner_openId =", value, "ownerOpenid");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidNotEqualTo(String value) {
            addCriterion("owner_openId <>", value, "ownerOpenid");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidGreaterThan(String value) {
            addCriterion("owner_openId >", value, "ownerOpenid");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidGreaterThanOrEqualTo(String value) {
            addCriterion("owner_openId >=", value, "ownerOpenid");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidLessThan(String value) {
            addCriterion("owner_openId <", value, "ownerOpenid");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidLessThanOrEqualTo(String value) {
            addCriterion("owner_openId <=", value, "ownerOpenid");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidLike(String value) {
            addCriterion("owner_openId like", value, "ownerOpenid");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidNotLike(String value) {
            addCriterion("owner_openId not like", value, "ownerOpenid");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidIn(List<String> values) {
            addCriterion("owner_openId in", values, "ownerOpenid");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidNotIn(List<String> values) {
            addCriterion("owner_openId not in", values, "ownerOpenid");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidBetween(String value1, String value2) {
            addCriterion("owner_openId between", value1, value2, "ownerOpenid");
            return (Criteria) this;
        }

        public Criteria andOwnerOpenidNotBetween(String value1, String value2) {
            addCriterion("owner_openId not between", value1, value2, "ownerOpenid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}